package com.witmore.neutron.ai.mcp.server.trading.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 股票数据实体类
 */
@Data
public class StockRealTimeInfoResponse implements Serializable {
    @JsonProperty("序号")
    private Integer index;

    @JsonProperty("代码")
    private String code;

    @JsonProperty("名称")
    private String name;

    @JsonProperty("最新价")
    private Double latestPrice;

    @JsonProperty("涨跌幅")
    private Double changePercent;

    @JsonProperty("涨跌额")
    private Double changeAmount;

    @JsonProperty("成交量")
    private Long volume;

    @JsonProperty("成交额")
    private Double turnover;

    @JsonProperty("振幅")
    private Double amplitude;

    @JsonProperty("最高")
    private Double highestPrice;

    @JsonProperty("最低")
    private Double lowestPrice;

    @JsonProperty("今开")
    private Double openPrice;

    @JsonProperty("昨收")
    private Double previousClosePrice;

    @JsonProperty("量比")
    private Double volumeRatio;

    @JsonProperty("换手率")
    private Double turnoverRate;

    @JsonProperty("市盈率-动态")
    private Double peRatioDynamic;

    @JsonProperty("市净率")
    private Double pbRatio;

    @JsonProperty("总市值")
    private Long totalMarketCap;

    @JsonProperty("流通市值")
    private Long circulatingMarketCap;

    @JsonProperty("涨速")
    private Double riseSpeed;

    @JsonProperty("5分钟涨跌")
    private Double change5Minutes;

    @JsonProperty("60日涨跌幅")
    private Double changePercent60Days;

    @JsonProperty("年初至今涨跌幅")
    private Double ytdChangePercent;
}
